package cn.exrick.service;

import cn.exrick.pojo.TbQuestionCat;

import java.util.List;

/**
 * @Description:
 */
public interface QuestionCatService {

    int save(TbQuestionCat tbQuestionCat);

    int update(TbQuestionCat tbQuestionCat);

    int delete(long id);

    List<TbQuestionCat> getAll();

    TbQuestionCat getByName(String name);

    boolean checkNameForEdit(long id, String name);

}
